#!/usr/bin/bash

echo "use '\$*'"
for var in $*
do
    echo $var
done

echo "use \$@"
for var2 in "$@"
do
    echo $var2
done